package com.shangbang.verb;

/*import xmlwise.Plist;
import xmlwise.XmlParseException;

import java.io.File;
import java.io.IOException;
import java.util.Map;*/

import xmlwise.XmlParseException;

import java.io.IOException;
import java.util.Scanner;

public class test {

    public static void main(String[] args) throws IOException, XmlParseException {
      //   String path = "/Users/deanver/Desktop/a.mobileconfig";
        /*
        XMLPropertyListConfiguration plist = new XMLPropertyListConfiguration();
        plist.set
        plist.setFileName(url.getFile());
        plist.load();File*/

/*
        File file = new File(path);
        System.out.println(file.getName());

        Map<String,Object> plist=Plist.load(file);
        System.out.println(plist.get("PayloadOrganization"));

        plist.remove("PayloadOrganization");
        plist.put("PayloadOrganization","2");
        String str = Plist.toPlist(plist.toString());
        File file1 = new File(str);
        System.out.println(plist.get("PayloadOrganization"));
*/
       // System.out.println(CommEnum.FOLDER.getPath("task"));
     /*   String s[] = {"2","2"};
        s[0]="3";
        System.out.println(s.toString());
*/
     String name ="https://wmw-wmw.oss-cn-beijing.aliyuncs.com/taskImages/20181217/8dc001f2-179d-4e48-8dbb-3767612d1870.jpg,";
/*
        String[] arr = name.split(","); // 用,分割
StringBuffer stringBuffer = new StringBuffer();
        for (int i = 0; i < arr.length; i++) {
            if (arr[i].contains("wmw-wmw.oss-cn-beijing.aliyuncs.com")){
                System.out.println("1");
                String str = arr[i].substring(44,arr[i].length());
                System.out.println(str);
                stringBuffer.append(str);
            }
        }
*/
 /*       System.out.println(name.endsWith(","));
        System.out.println(name.substring(0,name.length()-1));


        name.endsWith(",");
        String[] arr = name.split(",");
        System.out.println(arr[0].toString());

        if(name.contains(",")){
        System.out.println("1");
    }*/
       /* Scanner scan=new Scanner(System.in);
        System.out.print("请输入第一个数：");
        int m=scan.nextInt();
        System.out.print("请输入第二个数：");
        int n=scan.nextInt();


        int w=(m>n)?m:n;
        int y=(m!=n)?w:m;
        System.out.println("最大的数为:"+y);



*/
    }
}
